package com.yunhe.authority.model.housing;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName OfficeVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/7/19 13:14
 * @Version 1.0
 **/
@Data
@ApiModel(value = "OfficeVo",description = "设备位置")
public class OfficeVo {

    @ApiModelProperty("ID")
    private long id;

    @ApiModelProperty("值")
    private String code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("类型 item 枚举  office 厂房")
    private String type;

    @ApiModelProperty("子节点")
    private List<OfficeVo> children;
}
